{% extends "base_generic.html" %}
{% block content %}
  <h1>Posts ({{articles|length}})</h1>
  <h2><a href="/admin/articles//new/" class="add">Nuevo Post</a></h2>
  <table class="tablelist">
  {% for article in articles %}
    <tr>
      <td>{{article.title}}</td>
      <td><a href="/admin/articles/{{article.key}}/edit/">Edit</a></td>
      <td><a href="/admin/articles/{{article.key}}/delete/" onclick="return confirm('are you sure do you want to delete \'{{article.title}}\'?');">Delete</a></td>
    </tr>
{%endfor%}
</table>
{% endblock %}
